package com.futao;

import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author futao@gmail.com
 * @date 2022/3/9
 */
@Slf4j
// @Configuration
public class EnableSayHelloSelector {

    public EnableSayHelloSelector() {
        log.info("被初始化");
    }

    @Bean
    public InnerBean innerBean() {
        return new InnerBean();
    }

    public static class InnerBean {
        public InnerBean() {
            log.info("被初始化");
        }
    }
}
